package by.gravity.model;

import java.sql.Date;
import java.util.ArrayList;
import java.util.List;

public class Day {
	private List<Lesson> lessons;

	private Date date;

	public Day(Date date) {
		lessons = new ArrayList<Lesson>();
		this.date = date;
	}

	public void addLesson(Lesson lesson) {
		lessons.add(lesson);
	}

	public Date getDate() {
		return date;
	}

}
